package com.rao.gmall.feign.cart.fallback;

import com.rao.gmall.common.result.Result;
import com.rao.gmall.feign.cart.CartFeignClient;
import com.rao.gmall.model.cart.CartInfo;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author nzmxfan
 * @create 2021-08-17-19:15
 */
@Component
public class CartFeignClientFallback implements CartFeignClient {

    @Override
    public CartInfo addToCart(Long skuId, Integer skuNum) {
        return null;
    }

    @Override
    public List<CartInfo> getCartIsCheckList() {
        return null;
    }

    @Override
    public Result deleteSkuFromCart(List<String> skuIds) {
        return null;
    }
}
